package com.ssm.mapper;

import com.ssm.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {

    public void insert(Order order);

    public void update(Order order);

    public void delete(@Param("orderNO") String NO);

    public List<Order> selectOrdersPage(@Param("orderNO") String orderNO,@Param("customerNO") String customerNO,@Param("status") Short status);

    public Integer countSize(@Param("orderNO") String orderNO,@Param("customerNO") String customerNO,@Param("status") Short status);

    public Order selectByNO(@Param("orderNO") String NO);
}
